Hi Bryan,
If you are getting any error message in your program, then please post your complete program(as a reply to this message) so that I can check that out and help you regarding that in a better way.
And as per my knowledge, a class is a collection of Instance variables(Variables) and Methods(Functions). A class is also known as a blue print of an object.
Method: A method of a class is used by the object of that class to access/manipulate/operate on the instance variables(Variables) of that class.
Regards!
Apr 2, 2012